home *** CD-ROM | disk | FTP | other *** search
- #ifndef REPLACER_H
- #define REPLACER_H
-
- #define REQATTACK_DISPLAYREQ 127
-
- struct ReplacerData
- {
- ULONG res1;
- struct EasyStruct *easystr;
- };
-
- #endif
-
- /*
- ** The easystruct that will be
- ** passed to your proggy contains the body text preprocessed by RawDoFmt
- ** so you don't need to do this yourself.
- **
- ** You're not allowed to use this ea data to display a requester - you may
- ** cause a deadlock that way!!! The requester's text should not be equal
- ** in any way to the ea text - you should warn user about this because
- ** settings depend on him! The good way not to cause a deadlock is to
- ** add a single space at the start of text/title and ask user to define
- ** the patched req like this : TEXT="some text#?" TITLE="title#?" this way
- ** there won't be a deadlock if you open a req with " title" or " some text".
- **
- ** If you want only to filter the requester - return from your program
- ** with 127 in d0 (exit(REQATTACK_DISPLAYREQ)/return REQATTACK_DISPLAYREQ).
- **
- */
-